import React from 'react'
import ReactDOM from 'react-dom'
import App from './app'
import fetchJsonp from 'fetch-jsonp'

React.Component.prototype.$http = fetchJsonp
React.Component.prototype.baseURL = 'https://api.douban.com'

ReactDOM.render(<App />, document.getElementById('root'))
